<?php
class YbanbenAction extends Action
{
	public function banben()
	{

    $id = $_GET['id'];
    //die(P($id));  
    //首页model
    $SyimgModel = new SyimgModel();
    
    //获取内容
    $result = $SyimgModel->getCardById($id);
    die(json_encode($result));

	}

  //获取公告通知
    public function gongao()
  {

    $id = $_GET['id'];
    //die(P($id));  
    //首页model
    $IntroModel = new IntroModel();
    
    //获取内容
    $result = $IntroModel->getRowById($id);
    die(json_encode($result));

  }
	

}
?>